{include file="public:header" /}
<!--会员模块配置-->
<div class="pad_lr_10">
	<form id="info_form" action="{:url('Setting/addDo')}" method="post" enctype="multipart/form-data">
	<div class="col_tab">
	<ul class="J_tabs tab_but cu_li">
		<li class="current">会员模块配置</li>
		<li>第三方登录</li>
	</ul>
	<div class="J_panes">
		<div class="content_list pad_10">
		<table width="100%" class="table_form">
			<tr>
				<th width="150">开启会员注册 :</th>
				<td>
					<label class="mr10"><input name="data[register]" value="1" type="radio" class="J_change_status" checked> 开启 </label>
					<label><input name="data[register]" type="radio" value="0" class="J_change_status">关闭</label>
				</td>
			</tr>
			<!--tr>
				<th width="150">注册赠送积分 :</th>
				<td>
					<input type="text" name="data[point]" class="input-text" value="0" size="10">
				</td>
			</tr>
			<tr>
				<th width="150">登录赠送积分 :</th>
				<td>
					<input type="text" name="data[login]" class="input-text" value="0" size="10"><span>每日首次登录赠送</span>
				</td>
			</tr-->
			<!--tr>
				<th>用户添加新房 :</th>
				<td>
					<label for="house_1">
						<input type="radio" id="house_1" name="data[house]" value="0">审核
					</label>
					<label for="house_2">
						<input type="radio" id="house_2" name="data[house]" value="1" checked>不审核
					</label>
				</td>
			</tr-->
			<tr>
				<th>用户添加二手房 :</th>
				<td>
					<label for="second_1">
						<input type="radio" id="second_1" name="data[second]" value="0">审核
					</label>
					<label for="second_2">
						<input type="radio" id="second_2" name="data[second]" value="1" checked>不审核
					</label>
				</td>
			</tr>
			<tr>
				<th>用户添加出租房 :</th>
				<td>
					<label for="rental_1">
						<input type="radio" id="rental_1" name="data[rental]" value="0">审核
					</label>
					<label for="rental_2">
						<input type="radio" id="rental_2" name="data[rental]" value="1" checked>不审核
					</label>
				</td>
			</tr>
			<tr>
				<th>用户添加文章 :</th>
				<td>
					<label for="article_1">
						<input type="radio" id="article_1" name="data[article]" value="0">审核
					</label>
					<label for="article_2">
						<input type="radio" id="article_2" name="data[article]" value="1" checked>不审核
					</label>
				</td>
			</tr>

		</table>
		</div>
		<div class="content_list pad_10 hidden">
			<table width="100%" class="table_form">
				<tr>
					<th width="150">qq配置 :</th>
					<td>
						<table>
							<tr>
								<th>APPKEY: </th>
								<td><input type="text" name="data[qq][app_key]" class="input-text" size="50"></td>
							</tr>
							<tr>
								<th>APPSECRET:</th>
								<td>
									<input type="text" name="data[qq][app_secret]" class="input-text" size="50">
								</td>
							</tr>
							<tr>
								<th>回调地址：</th>
								<td>http://{:config('url_domain_root')}/user.login/callback/type/qq.html</td>
							</tr>
							<input type="hidden" name="data[qq][callback]" value="http://{:config('url_domain_root')}/user.login/callback/type/qq.html">
						</table>
					</td>
				</tr>
				<tr>
					<th width="150">新浪微博 :</th>
					<td>
						<table>
							<tr>
								<th>APPKEY: </th>
								<td><input type="text" name="data[sina][app_key]" class="input-text" size="50"></td>
							</tr>
							<tr>
								<th>APPSECRET:</th>
								<td>
									<input type="text" name="data[sina][app_secret]" class="input-text" size="50">
								</td>
							</tr>
							<tr>
								<th>回调地址：</th>
								<td>
									http://{:config('url_domain_root')}/user.login/callback/type/sina.html
								</td>
							</tr>
							<input type="hidden" name="data[sina][callback]" value="http://{:config('url_domain_root')}/user.login/callback/type/sina.html">

						</table>
					</td>
				</tr>

			</table>
		</div>
</div>
</div>
	<input type="hidden" name="name" value="{$action_name}">
	<div class="mt10"><input type="submit" value="提交" id="dosubmit" name="" class="btn btn_submit" style="margin:0 0 10px 100px;"><br /><br /><br /></div>
	</form>
</div>
{include file="public:footer" /}
<script src="__PUBLIC__/js/plugins/jquery.tools.min.js"></script>
<script>
	$(function(){
		$('ul.J_tabs').tabs('div.J_panes > div');
	});
</script>
</body>
</html>